--- wvstreams-4.6.1-dist/include/wvuid.h	2012-01-05 10:18:58.713661236 +0100
+++ wvstreams-4.6.1/include/wvuid.h	2012-01-05 10:27:42.198435328 +0100
@@ -7,6 +7,7 @@
 #ifndef __WVUID_H
 #define __WVUID_H
 
+#include <unistd.h>
 #include "wvstring.h"
 
 #if WIN32
